Today I'll be attempting to help you optimize your code by knowing when and why you should refresh your ncurses screen. For a more in-depth understanding of ncurses, please check out the documentation page here: http://invisible-island.net/ncurses/man/ If you prefer online tutorials, or want a more complete tutorial set, check out this website which I find very helpful for beginners and experienced users alike: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/